home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11887 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  752 b 

  1. Path: uvaix3e1.comp.UVic.CA!usenet
  2. From: cgesy@uvaix.uvic.ca (Colin Gesy)
  3. Newsgroups: comp.lang.c++
  4. Subject: pointer questions
  5. Date: 16 Mar 1996 21:13:19 GMT
  6. Organization: Your Organization
  7. Message-ID: <4ifatf$5a8u@uvaix3e1.comp.UVic.CA>
  8. NNTP-Posting-Host: p18-178.dialup.uvic.ca
  9. Mime-Version: 1.0
  10. Content-Type: Text/Plain; charset=ISO-8859-1
  11. X-Newsreader: WinVN 0.99.5
  12.  
  13. Could someone tell me if there is a difference
  14. between the declaration "int *thing_ptr" and
  15. "int* thing_ptr" ?
  16.  
  17. Also, what is the difference between "int& data"
  18. and "int &data" ?
  19.  
  20.  
  21. What does the following statement do/mean? :
  22.  
  23.      ((searchItem&) *this)._refCount++;   //searchItem is the class name
  24.  
  25.  
  26.  
  27. Any help with one or more of these questions would be appreciated
  28. Thanks :)
  29.  
  30.  
  31.